package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.Unit;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Service;

import java.util.List;

@Mapper
@Service
public interface UnitDao {

    /**
     * 查询所有单位
     * @return
     */
    List<Unit> getAll();
}
